package com.ferry.example.spring;

import com.ferry.transport.netty.provider.FerryProvider;
import org.springframework.stereotype.Service;

/**
 * Created by daiyong
 */
@Service
@FerryProvider(version = "1.0.0")
public class UserServiceImpl implements UserService{
	@Override
	public String getUserName() {
		return "zhangsan";
	}

	@Override
	public String getUserName(String name) {
		return "你好" + name;
	}
}
